using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;

namespace Nebular.ExpenseManagement.WebApplication.Controllers
{   
    public class AccountController : ControllerBase
    {
        //
        // GET: /Account/

        public ActionResult Index()
        {
            return View(GetMyAccount());
        }

       
        //
        // GET: /Account/Edit
 
        public ActionResult Edit()
        {
            return View();
        }

        //
        // POST: /Account/Edit

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Edit(FormCollection collection)
        {
            try
            {
                // TODO: Add update logic here
 
                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
    }
}
